//
//  BCSwitchView.h
//  NiuBanJin
//
//  Created by Billy on 15/10/14.
//  Copyright © 2015年 zzjr. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BCSwitchViewDelegate <NSObject>

- (void) buttonSelected:(UIButton *) button;

@end

@interface BCSwitchView : UIView

/**
 *  The color of bottom scroll line
*  @note default value is red color
 */
@property (nonatomic, strong) UIColor *color_scroll;

/**
 *  The color of button title
 *  @note default value is black color
 */
@property (nonatomic, strong) UIColor *color_title;

/**
 *  The font of button title
 *  @note default size 15
 */
@property (nonatomic, strong) UIFont *font_title;


@property (nonatomic, assign) id <BCSwitchViewDelegate>  delegate;

/**
 *	@brief	Initial method with specified itmes
 *
 *	@param 	frame view frame size
 *	@param 	items how many items should be show, the content of array is NSString object
 *
 *	@return	instance of BCSwitchView
 *
 */
- (instancetype)initWithFrame:(CGRect)frame Items:(NSArray *) items;



@end
